using System;

namespace GURUCORE.Framework.Core
{
    /// <summary>
    /// For backward - compatible
    /// </summary>
    [System.Diagnostics.DebuggerStepThrough()]
    [Obsolete("Use specific exception to focus debugger on error domain. At worst case, if you can determine what exception to raise, use FrameworkException instead.", false)]
    public class AppException : FrameworkException
    {      
        protected AppException()
        { }

		public AppException(string p_sMessage, Exception p_exInner) 
            : base("GURUCORE App Exception: " + p_sMessage, p_exInner)
		{        }

        public AppException(string p_sMessage)
            : base("GURUCORE App Exception (raise by Developer): " + p_sMessage, null)
		{        }
    }
}
